# coding=utf-8
import numpy as np
import matplotlib.pyplot as plt
import tensorflow as tf
import os
from tqdm import tqdm

from utilspacks.calEnergy_calZeroCrossingRate import endPoint
list = []
with open("../data/hai_train2.txt", "r", encoding="utf8") as f:
    filedata = f.readlines()
    for item in tqdm(filedata):
        list.append(item.split("\t")[0])
f.close()
print(list)
for item in list:
    endPoint(item, item)
print("处理完成")
